home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Misc Servers / Zope.exe / ZOPE2.WSE < prev    next >
Encoding:
Wise script  |  2000-11-27  |  52.4 KB  |  1,848 lines

  1. Document Type: WSE
  2. item: Global
  3.   Version=5.0
  4.   Title=Zope Installation
  5.   Flags=10000100
  6.   Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  7.   Japanese Font Name=MS Gothic
  8.   Japanese Font Size=10
  9.   Start Gradient=0 0 255
  10.   End Gradient=0 0 0
  11.   Windows Flags=00100100000000000010110101010000
  12.   Log Pathname=%SOFTWARE_HOME%\INSTALL.LOG
  13.   Message Font=MS Sans Serif
  14.   Font Size=8
  15.   Disk Filename=SETUP
  16.   Patch Flags=0000000000000001
  17.   Patch Threshold=85
  18.   Patch Memory=4000
  19.   FTP Cluster Size=20
  20.   Variable Name1=_SYS_
  21.   Variable Default1=C:\WINNT\System32
  22.   Variable Flags1=00001000
  23.   Variable Name2=_WISE_
  24.   Variable Default2=C:\PROGRA~1\Wise
  25.   Variable Flags2=00001000
  26.   Variable Name3=_ODBC16_
  27.   Variable Default3=C:\WINNT\System32
  28.   Variable Flags3=00001000
  29.   Variable Name4=_ODBC32_
  30.   Variable Default4=C:\WINNT\System32
  31.   Variable Flags4=00001000
  32.   Variable Name5=_BASELINE_
  33.   Variable Default5=C:\Build\zope
  34. end
  35. item: Check Configuration
  36.   Message=This software must be installed by an NT Administrator.
  37.   Message=
  38.   Message=Please log in as an Administrator, and re-start the installation.
  39.   Title=NT Administrator Rights Required
  40.   Flags=01011111
  41. end
  42. item: Remark
  43. end
  44. item: Remark
  45. end
  46. item: Remark
  47.   Text=*** Initialize variables ***
  48. end
  49. item: Set Variable
  50.   Variable=APPTITLE
  51.   Value=Zope 2.2.4
  52.   Flags=10000000
  53. end
  54. item: Set Variable
  55.   Variable=INSTANCE_NAME
  56.   Value=WebSite
  57. end
  58. item: Set Variable
  59.   Variable=INSTANCE_HOME
  60.   Value=C:\
  61. end
  62. item: Set Variable
  63.   Variable=SOFTWARE_HOME
  64.   Value=C:\
  65. end
  66. item: Set Variable
  67.   Variable=PROGRAM_FILES
  68.   Value=C:\
  69. end
  70. item: Set Variable
  71.   Variable=PMUSERNAME
  72. end
  73. item: Set Variable
  74.   Variable=PMPASSWORD
  75. end
  76. item: Set Variable
  77.   Variable=PUBLISH_TYPE
  78.   Value=B
  79. end
  80. item: Set Variable
  81.   Variable=AS_SERVICE
  82.   Value=A
  83. end
  84. item: Set Variable
  85.   Variable=TEMPVAR
  86.   Value=1
  87. end
  88. item: Set Variable
  89.   Variable=DISABLED
  90.   Value=!
  91. end
  92. item: Set Variable
  93.   Variable=BACKUPDIR
  94. end
  95. item: Check Configuration
  96.   Flags=10111011
  97. end
  98. item: Get Registry Key Value
  99.   Variable=PROGRAM_FILES
  100.   Key=SOFTWARE\Microsoft\Windows\CurrentVersion
  101.   Default=C:\Program Files
  102.   Value Name=ProgramFilesDir
  103.   Flags=00000100
  104. end
  105. item: End Block
  106. end
  107. item: Remark
  108. end
  109. item: Remark
  110. end
  111. item: Remark
  112.   Text=*** Install wizard ***
  113. end
  114. item: Wizard Block
  115.   Direction Variable=DIRECTION
  116.   Display Variable=DISPLAY
  117.   Bitmap Pathname=%_WISE_%\DIALOGS\TEMPLATE\WIZARD.BMP
  118.   X Position=9
  119.   Y Position=10
  120.   Filler Color=8421440
  121.   Dialog=Select Program Manager Group
  122.   Dialog=Select Backup Directory
  123.   Dialog=Display Registration Information
  124.   Dialog=Get Registration Information
  125.   Variable=EXPLORER
  126.   Variable=DOBACKUP
  127.   Variable=DOBRAND
  128.   Variable=DOBRAND
  129.   Value=1
  130.   Value=A
  131.   Value=1
  132.   Value=1
  133.   Compare=0
  134.   Compare=1
  135.   Compare=0
  136.   Compare=1
  137.   Flags=00000011
  138. end
  139. item: Custom Dialog Set
  140.   Name=Welcome
  141.   Display Variable=DISPLAY
  142.   item: Dialog
  143.     Title=%APPTITLE% Installation
  144.     Title French=Installation de %APPTITLE%
  145.     Title German=Installation von %APPTITLE%
  146.     Title Spanish=Instalaci≤n de %APPTITLE%
  147.     Title Italian=Installazione di %APPTITLE%
  148.     Width=271
  149.     Height=224
  150.     Font Name=Helv
  151.     Font Size=8
  152.     item: Static
  153.       Rectangle=86 8 256 32
  154.       Create Flags=01010000000000000000000000000000
  155.       Flags=0000000000000001
  156.       Name=Times New Roman
  157.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  158.       Text=Welcome!
  159.       Text French=Bienvenue !
  160.       Text German=Willkommen!
  161.       Text Spanish=íBienvenido!
  162.       Text Italian=Benvenuti!
  163.     end
  164.     item: Push Button
  165.       Rectangle=150 186 195 201
  166.       Variable=DIRECTION
  167.       Value=N
  168.       Create Flags=01010000000000010000000000000001
  169.       Text=&Next >
  170.       Text French=&Suite >
  171.       Text German=&Weiter >
  172.       Text Spanish=&Siguiente >
  173.       Text Italian=&Avanti >
  174.     end
  175.     item: Push Button
  176.       Rectangle=210 186 255 201
  177.       Action=3
  178.       Create Flags=01010000000000010000000000000000
  179.       Text=&Cancel
  180.       Text French=&Annuler
  181.       Text German=&Abbrechen
  182.       Text Spanish=&Cancelar
  183.       Text Italian=&Annulla
  184.     end
  185.     item: Static
  186.       Rectangle=86 40 256 129
  187.       Create Flags=01010000000000000000000000000000
  188.       Text=This installation program will install %APPTITLE%.
  189.       Text=
  190.       Text=Press the Next button to start the installation. You can press the Cancel button now if you do not want to install %APPTITLE% at this time.
  191.       Text French=Ce programme d'installation va installer %APPTITLE%.
  192.       Text French=
  193.       Text French=Cliquez sur le bouton Suite pour dΘmarrer l'installation. Vous pouvez cliquer sur le bouton Quitter l'installation si vous ne voulez pas installer %APPTITLE% tout de suite.
  194.       Text German=Mit diesem Installationsprogramm wird %APPTITLE% installiert.
  195.       Text German=
  196.       Text German=Klicken Sie auf "Weiter", um mit der Installation zu beginnen. Klicken Sie auf "Abbrechen", um die Installation von %APPTITLE% abzubrechen.
  197.       Text Spanish=Este programa de instalaci≤n instalarß %APPTITLE%.
  198.       Text Spanish=
  199.       Text Spanish=Presione el bot≤n Siguiente para iniciar la instalaci≤n. Puede presionar el bot≤n Salir de instalaci≤n si no desea instalar %APPTITLE% en este momento.
  200.       Text Italian=Questo programma installerα %APPTITLE%.
  201.       Text Italian=
  202.       Text Italian=Per avvviare l'installazione premere il pulsante Avanti. Se non si desidera installare %APPTITLE% ora, premere il pulsante Esci dall'installazione.
  203.     end
  204.     item: Static
  205.       Rectangle=8 180 256 181
  206.       Action=3
  207.       Create Flags=01010000000000000000000000000111
  208.     end
  209.   end
  210. end
  211. item: Custom Dialog Set
  212.   Name=Display Copyright
  213.   Display Variable=DISPLAY
  214.   item: Dialog
  215.     Title=%APPTITLE% Installation
  216.     Title French=Installation de %APPTITLE%
  217.     Title German=Installation von %APPTITLE%
  218.     Title Spanish=Instalaci≤n de %APPTITLE%
  219.     Title Italian=Installazione di %APPTITLE%
  220.     Width=271
  221.     Height=224
  222.     Font Name=Helv
  223.     Font Size=8
  224.     item: Push Button
  225.       Rectangle=150 186 195 201
  226.       Variable=DIRECTION
  227.       Value=N
  228.       Create Flags=01010000000000010000000000000001
  229.       Text=Accept >
  230.       Text French=&Suite >
  231.       Text German=&Weiter >
  232.       Text Spanish=&Siguiente >
  233.       Text Italian=&Avanti >
  234.     end
  235.     item: Push Button
  236.       Rectangle=105 186 150 201
  237.       Variable=DIRECTION
  238.       Value=B
  239.       Create Flags=01010000000000010000000000000000
  240.       Text=< &Back
  241.       Text French=< &Retour
  242.       Text German=< &Zurⁿck
  243.       Text Spanish=< &Atrßs
  244.       Text Italian=< &Indietro
  245.     end
  246.     item: Push Button
  247.       Rectangle=211 186 256 201
  248.       Action=3
  249.       Create Flags=01010000000000010000000000000000
  250.       Text=&Cancel
  251.       Text French=&Annuler
  252.       Text German=&Abbrechen
  253.       Text Spanish=&Cancelar
  254.       Text Italian=&Annulla
  255.     end
  256.     item: Static
  257.       Rectangle=8 178 256 179
  258.       Action=3
  259.       Create Flags=01010000000000000000000000000111
  260.     end
  261.     item: Editbox
  262.       Rectangle=6 9 253 171
  263.       Help Context=16711681
  264.       Create Flags=01010000101000000000100000000100
  265.       Text=
  266.       Text=Zope Public License (ZPL) Version 1.0
  267.       Text=-------------------------------------
  268.       Text=
  269.       Text=Copyright (c) Digital Creations.  All rights reserved.
  270.       Text=
  271.       Text=This license has been certified as Open Source(tm).
  272.       Text=
  273.       Text=Redistribution and use in source and binary forms, with or without
  274.       Text=modification, are permitted provided that the following conditions are
  275.       Text=met:
  276.       Text=
  277.       Text=1. Redistributions in source code must retain the above copyright
  278.       Text=   notice, this list of conditions, and the following disclaimer.
  279.       Text=
  280.       Text=2. Redistributions in binary form must reproduce the above copyright
  281.       Text=   notice, this list of conditions, and the following disclaimer in
  282.       Text=   the documentation and/or other materials provided with the
  283.       Text=   distribution.
  284.       Text=
  285.       Text=3. Digital Creations requests that attribution be given to Zope
  286.       Text=   in any manner possible. Zope includes a "Powered by Zope"
  287.       Text=   button that is installed by default. While it is not a license
  288.       Text=   violation to remove this button, it is requested that the
  289.       Text=   attribution remain. A significant investment has been put
  290.       Text=   into Zope, and this effort will continue if the Zope community
  291.       Text=   continues to grow. This is one way to assure that growth.
  292.       Text=
  293.       Text=4. All advertising materials and documentation mentioning
  294.       Text=   features derived from or use of this software must display
  295.       Text=   the following acknowledgement:
  296.       Text=
  297.       Text=     "This product includes software developed by Digital Creations
  298.       Text=     for use in the Z Object Publishing Environment
  299.       Text=     (http://www.zope.org/)."
  300.       Text=
  301.       Text=   In the event that the product being advertised includes an
  302.       Text=   intact Zope distribution (with copyright and license included)
  303.       Text=   then this clause is waived.
  304.       Text=
  305.       Text=5. Names associated with Zope or Digital Creations must not be used to
  306.       Text=   endorse or promote products derived from this software without
  307.       Text=   prior written permission from Digital Creations.
  308.       Text=
  309.       Text=6. Modified redistributions of any form whatsoever must retain
  310.       Text=   the following acknowledgment:
  311.       Text=
  312.       Text=     "This product includes software developed by Digital Creations
  313.       Text=     for use in the Z Object Publishing Environment
  314.       Text=     (http://www.zope.org/)."
  315.       Text=
  316.       Text=   Intact (re-)distributions of any official Zope release do not
  317.       Text=   require an external acknowledgement.
  318.       Text=
  319.       Text=7. Modifications are encouraged but must be packaged separately as
  320.       Text=   patches to official Zope releases.  Distributions that do not
  321.       Text=   clearly separate the patches from the original work must be clearly
  322.       Text=   labeled as unofficial distributions.  Modifications which do not
  323.       Text=   carry the name Zope may be packaged in any form, as long as they
  324.       Text=   conform to all of the clauses above.
  325.       Text=
  326.       Text=
  327.       Text=Disclaimer
  328.       Text=
  329.       Text=  THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS ``AS IS'' AND ANY
  330.       Text=  EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  331.       Text=  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  332.       Text=  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL DIGITAL CREATIONS OR ITS
  333.       Text=  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  334.       Text=  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  335.       Text=  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  336.       Text=  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  337.       Text=  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  338.       Text=  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  339.       Text=  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  340.       Text=  SUCH DAMAGE.
  341.       Text=
  342.       Text=
  343.       Text=This software consists of contributions made by Digital Creations and
  344.       Text=many individuals on behalf of Digital Creations.  Specific
  345.       Text=attributions are listed in the accompanying credits file.
  346.       Text=
  347.     end
  348.   end
  349. end
  350. item: Custom Dialog Set
  351.   Name=Select Site Name
  352.   Display Variable=DISPLAY
  353.   item: Dialog
  354.     Title=%APPTITLE% Installation
  355.     Title French=Installation de %APPTITLE%
  356.     Title German=Installation von %APPTITLE%
  357.     Title Spanish=Instalaci≤n de %APPTITLE%
  358.     Title Italian=Installazione di %APPTITLE%
  359.     Width=271
  360.     Height=224
  361.     Font Name=Helv
  362.     Font Size=8
  363.     item: Static
  364.       Rectangle=86 8 256 32
  365.       Create Flags=01010000000000000000000000000000
  366.       Flags=0000000000000001
  367.       Name=Times New Roman
  368.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  369.       Text=Select Site Name
  370.       Text French=SΘlectionner le rΘpertoire de destination
  371.       Text German=Zielverzeichnis wΣhlen
  372.       Text Spanish=Seleccione el directorio de destino
  373.       Text Italian=Selezionare Directory di destinazione
  374.     end
  375.     item: Static
  376.       Rectangle=86 40 256 93
  377.       Create Flags=01010000000000000000000000000000
  378.       Text=Please enter a name to identify this installation. This name will make it easy to remove this installation in the future without affecting other installations.
  379.       Text=
  380.       Text=The site name you enter may not contain spaces or punctuation characters.
  381.     end
  382.     item: Static
  383.       Rectangle=86 102 121 117
  384.       Create Flags=01010000000000000000000000000000
  385.       Text=Site Name
  386.     end
  387.     item: Editbox
  388.       Rectangle=129 100 242 115
  389.       Variable=INSTANCE_NAME
  390.       Help Context=1966081
  391.       Create Flags=01010000100000010000000010000000
  392.       Text=%INSTANCE_NAME%
  393.     end
  394.     item: Static
  395.       Rectangle=8 180 256 181
  396.       Action=3
  397.       Create Flags=01010000000000000000000000000111
  398.     end
  399.     item: Push Button
  400.       Rectangle=103 186 148 201
  401.       Variable=DIRECTION
  402.       Value=B
  403.       Create Flags=01010000000000010000000000000000
  404.       Flags=0000000000000001
  405.       Text=< &Back
  406.       Text French=< &Retour
  407.       Text German=< &Zurⁿck
  408.       Text Spanish=< &Atrßs
  409.       Text Italian=< &Indietro
  410.     end
  411.     item: Push Button
  412.       Rectangle=148 186 193 201
  413.       Variable=DIRECTION
  414.       Value=N
  415.       Create Flags=01010000000000010000000000000001
  416.       Text=&Next >
  417.       Text French=&Suite >
  418.       Text German=&Weiter >
  419.       Text Spanish=&Siguiente >
  420.       Text Italian=&Avanti >
  421.     end
  422.     item: Push Button
  423.       Rectangle=211 186 256 201
  424.       Action=3
  425.       Create Flags=01010000000000010000000000000000
  426.       Text=&Cancel
  427.       Text French=&Annuler
  428.       Text German=&Abbrechen
  429.       Text Spanish=&Cancelar
  430.       Text Italian=&Annulla
  431.     end
  432.   end
  433.   item: Dialog
  434.     Title=Select Destination Directory
  435.     Title French=SΘlectionner le rΘpertoire de destination
  436.     Title German=Zielverzeichnis wΣhlen
  437.     Title Spanish=Seleccione el directorio de destino
  438.     Title Italian=Selezionare Directory di destinazione
  439.     Width=221
  440.     Height=173
  441.     Font Name=Helv
  442.     Font Size=8
  443.     item: Listbox
  444.       Rectangle=5 5 163 149
  445.       Variable=MAINDIR
  446.       Create Flags=01010000100000010000000101000000
  447.       Flags=0000110000100010
  448.       Text=%MAINDIR%
  449.       Text French=%MAINDIR%
  450.       Text German=%MAINDIR%
  451.       Text Spanish=%MAINDIR%
  452.       Text Italian=%MAINDIR%
  453.     end
  454.     item: Push Button
  455.       Rectangle=167 6 212 21
  456.       Create Flags=01010000000000010000000000000001
  457.       Text=OK
  458.       Text French=OK
  459.       Text German=OK
  460.       Text Spanish=Aceptar
  461.       Text Italian=OK
  462.     end
  463.     item: Push Button
  464.       Rectangle=167 25 212 40
  465.       Variable=MAINDIR
  466.       Value=%MAINDIR_SAVE%
  467.       Create Flags=01010000000000010000000000000000
  468.       Flags=0000000000000001
  469.       Text=Cancel
  470.       Text French=Annuler
  471.       Text German=Abbrechen
  472.       Text Spanish=Cancelar
  473.       Text Italian=Annulla
  474.     end
  475.   end
  476. end
  477. item: If/While Statement
  478.   Variable=DISPLAY
  479.   Value=Select Site Name
  480. end
  481. item: If/While Statement
  482.   Variable=INSTANCE_NAME
  483. end
  484. item: Set Variable
  485.   Variable=DIRECTION
  486. end
  487. item: End Block
  488. end
  489. item: If/While Statement
  490.   Variable=INSTANCE_NAME
  491.   Value=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789~-_.
  492.   Flags=00001011
  493. end
  494. item: Set Variable
  495.   Variable=DIRECTION
  496. end
  497. item: End Block
  498. end
  499. item: Set Variable
  500.   Variable=SOFTWARE_HOME
  501.   Value=%PROGRAM_FILES%\%INSTANCE_NAME%
  502.   Flags=00001100
  503. end
  504. item: End Block
  505. end
  506. item: Set Variable
  507.   Variable=MAINDIR
  508.   Value=%SOFTWARE_HOME%
  509. end
  510. item: Custom Dialog Set
  511.   Name=Select Destination Directory
  512.   Display Variable=DISPLAY
  513.   item: Dialog
  514.     Title=%APPTITLE% Installation
  515.     Title French=Installation de %APPTITLE%
  516.     Title German=Installation von %APPTITLE%
  517.     Title Spanish=Instalaci≤n de %APPTITLE%
  518.     Title Italian=Installazione di %APPTITLE%
  519.     Width=271
  520.     Height=224
  521.     Font Name=Helv
  522.     Font Size=8
  523.     item: Push Button
  524.       Rectangle=150 186 195 201
  525.       Variable=DIRECTION
  526.       Value=N
  527.       Create Flags=01010000000000010000000000000001
  528.       Text=&Next >
  529.       Text French=&Suite >
  530.       Text German=&Weiter >
  531.       Text Spanish=&Siguiente >
  532.       Text Italian=&Avanti >
  533.     end
  534.     item: Push Button
  535.       Rectangle=105 186 150 201
  536.       Variable=DIRECTION
  537.       Value=B
  538.       Create Flags=01010000000000010000000000000000
  539.       Flags=0000000000000001
  540.       Text=< &Back
  541.       Text French=< &Retour
  542.       Text German=< &Zurⁿck
  543.       Text Spanish=< &Atrßs
  544.       Text Italian=< &Indietro
  545.     end
  546.     item: Push Button
  547.       Rectangle=211 186 256 201
  548.       Action=3
  549.       Create Flags=01010000000000010000000000000000
  550.       Text=&Cancel
  551.       Text French=&Annuler
  552.       Text German=&Abbrechen
  553.       Text Spanish=&Cancelar
  554.       Text Italian=&Annulla
  555.     end
  556.     item: Static
  557.       Rectangle=8 180 256 181
  558.       Action=3
  559.       Create Flags=01010000000000000000000000000111
  560.     end
  561.     item: Static
  562.       Rectangle=86 8 256 32
  563.       Create Flags=01010000000000000000000000000000
  564.       Flags=0000000000000001
  565.       Name=Times New Roman
  566.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  567.       Text=Select Destination Directory
  568.       Text French=SΘlectionner le rΘpertoire de destination
  569.       Text German=Zielverzeichnis wΣhlen
  570.       Text Spanish=Seleccione el directorio de destino
  571.       Text Italian=Selezionare Directory di destinazione
  572.     end
  573.     item: Static
  574.       Rectangle=86 40 256 90
  575.       Create Flags=01010000000000000000000000000000
  576.       Text=Please select the directory where %APPTITLE% files are to be installed. 
  577.       Text French=Veuillez sΘlectionner le rΘpertoire dans lequel les fichiers %APPTITLE% doivent Ωtre installΘs.
  578.       Text German=Geben Sie an, in welchem Verzeichnis die %APPTITLE%-Dateien installiert werden sollen.
  579.       Text Spanish=Por favor seleccione el directorio donde desee instalar los archivos de %APPTITLE%.
  580.       Text Italian=Selezionare la directory dove verranno installati i file %APPTITLE%.
  581.     end
  582.     item: Static
  583.       Rectangle=86 109 256 136
  584.       Action=1
  585.       Create Flags=01010000000000000000000000000111
  586.     end
  587.     item: Push Button
  588.       Rectangle=206 118 251 133
  589.       Variable=MAINDIR_SAVE
  590.       Value=MAINDIR
  591.       Destination Dialog=1
  592.       Action=2
  593.       Create Flags=01010000000000010000000000000000
  594.       Text=B&rowse...
  595.       Text French=Parcourir
  596.       Text German=Durchsuchen
  597.       Text Spanish=Buscar
  598.       Text Italian=Sfoglie
  599.     end
  600.     item: Static
  601.       Rectangle=89 120 205 131
  602.       Destination Dialog=2
  603.       Create Flags=01010000000000000000000000000000
  604.       Text=%MAINDIR%
  605.       Text French=%MAINDIR%
  606.       Text German=%MAINDIR%
  607.       Text Spanish=%MAINDIR%
  608.       Text Italian=%MAINDIR%
  609.     end
  610.     item: Static
  611.       Rectangle=195 158 243 168
  612.       Variable=COMPONENTS
  613.       Value=MAINDIR
  614.       Create Flags=01010000000000000000000000000010
  615.     end
  616.     item: Static
  617.       Rectangle=195 146 243 155
  618.       Value=MAINDIR
  619.       Create Flags=01010000000000000000000000000010
  620.     end
  621.     item: Static
  622.       Rectangle=89 148 189 159
  623.       Create Flags=01010000000000000000000000000000
  624.       Text=Current Free Disk Space:
  625.       Text French=Espace disque requis :
  626.       Text German=Notwendiger Speicherplatz:
  627.       Text Spanish=Espacio requerido en el disco:
  628.       Text Italian=Spazio su disco necessario:
  629.     end
  630.     item: Static
  631.       Rectangle=90 158 179 168
  632.       Create Flags=01010000000000000000000000000000
  633.       Text=Free Disk Space After Install:
  634.       Text French=Espace disque disponible :
  635.       Text German=Verbleibender Speicherplatz:
  636.       Text Spanish=Espacio en disco disponible:
  637.       Text Italian=Spazio su disco disponibile:
  638.     end
  639.     item: Static
  640.       Rectangle=86 140 256 170
  641.       Action=1
  642.       Create Flags=01010000000000000000000000000111
  643.     end
  644.   end
  645.   item: Dialog
  646.     Title=Select Destination Directory
  647.     Title French=SΘlectionner le rΘpertoire de destination
  648.     Title German=Zielverzeichnis wΣhlen
  649.     Title Spanish=Seleccione el directorio de destino
  650.     Title Italian=Selezionare Directory di destinazione
  651.     Width=221
  652.     Height=173
  653.     Font Name=Helv
  654.     Font Size=8
  655.     item: Listbox
  656.       Rectangle=5 5 163 149
  657.       Variable=MAINDIR
  658.       Create Flags=01010000100000010000000101000000
  659.       Flags=0000110000100010
  660.       Text=%MAINDIR%
  661.       Text French=%MAINDIR%
  662.       Text German=%MAINDIR%
  663.       Text Spanish=%MAINDIR%
  664.       Text Italian=%MAINDIR%
  665.     end
  666.     item: Push Button
  667.       Rectangle=167 6 212 21
  668.       Create Flags=01010000000000010000000000000001
  669.       Text=OK
  670.       Text French=OK
  671.       Text German=OK
  672.       Text Spanish=Aceptar
  673.       Text Italian=OK
  674.     end
  675.     item: Push Button
  676.       Rectangle=167 25 212 40
  677.       Variable=MAINDIR
  678.       Value=%MAINDIR_SAVE%
  679.       Create Flags=01010000000000010000000000000000
  680.       Flags=0000000000000001
  681.       Text=Cancel
  682.       Text French=Annuler
  683.       Text German=Abbrechen
  684.       Text Spanish=Cancelar
  685.       Text Italian=Annulla
  686.     end
  687.   end
  688. end
  689. item: Set Variable
  690.   Variable=SOFTWARE_HOME
  691.   Value=%MAINDIR%
  692. end
  693. item: Set Variable
  694.   Variable=INSTANCE_HOME
  695.   Value=%SOFTWARE_HOME%
  696.   Flags=00001100
  697. end
  698. item: Custom Dialog Set
  699.   Name=Security
  700.   Display Variable=DISPLAY
  701.   item: Dialog
  702.     Title=%APPTITLE% Installation
  703.     Title French=Installation de %APPTITLE%
  704.     Title German=Installation von %APPTITLE%
  705.     Title Spanish=Instalaci≤n de %APPTITLE%
  706.     Title Italian=Installazione di %APPTITLE%
  707.     Width=271
  708.     Height=224
  709.     Font Name=Helv
  710.     Font Size=8
  711.     item: Editbox
  712.       Rectangle=127 100 240 115
  713.       Variable=PMUSERNAME
  714.       Help Context=1966081
  715.       Create Flags=01010000100000010000000010000000
  716.       Text=%PMUSERNAME%
  717.     end
  718.     item: Editbox
  719.       Rectangle=127 122 240 137
  720.       Variable=PMPASSWORD
  721.       Help Context=1966081
  722.       Create Flags=01010000100000010000000010100000
  723.       Text=%PMPASSWORD%
  724.     end
  725.     item: Push Button
  726.       Rectangle=148 186 193 201
  727.       Variable=DIRECTION
  728.       Value=N
  729.       Create Flags=01010000000000010000000000000001
  730.       Text=&Next >
  731.       Text French=&Suite >
  732.       Text German=&Weiter >
  733.       Text Spanish=&Siguiente >
  734.       Text Italian=&Avanti >
  735.     end
  736.     item: Push Button
  737.       Rectangle=103 186 148 201
  738.       Variable=DIRECTION
  739.       Value=B
  740.       Create Flags=01010000000000010000000000000000
  741.       Flags=0000000000000001
  742.       Text=< &Back
  743.       Text French=< &Retour
  744.       Text German=< &Zurⁿck
  745.       Text Spanish=< &Atrßs
  746.       Text Italian=< &Indietro
  747.     end
  748.     item: Push Button
  749.       Rectangle=211 186 256 201
  750.       Action=3
  751.       Create Flags=01010000000000010000000000000000
  752.       Text=&Cancel
  753.       Text French=&Annuler
  754.       Text German=&Abbrechen
  755.       Text Spanish=&Cancelar
  756.       Text Italian=&Annulla
  757.     end
  758.     item: Static
  759.       Rectangle=86 124 121 139
  760.       Create Flags=01010000000000000000000000000000
  761.       Text=Password
  762.     end
  763.     item: Static
  764.       Rectangle=86 102 121 117
  765.       Create Flags=01010000000000000000000000000000
  766.       Text=Username
  767.     end
  768.     item: Static
  769.       Rectangle=86 8 256 32
  770.       Create Flags=01010000000000000000000000000000
  771.       Flags=0000000000000001
  772.       Name=Times New Roman
  773.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  774.       Text=Security
  775.       Text French=SΘlectionner le rΘpertoire de destination
  776.       Text German=Zielverzeichnis wΣhlen
  777.       Text Spanish=Seleccione el directorio de destino
  778.       Text Italian=Selezionare Directory di destinazione
  779.     end
  780.     item: Static
  781.       Rectangle=86 40 256 90
  782.       Create Flags=01010000000000000000000000000000
  783.       Text=Please enter the "superuser" name and password for this installation.
  784.       Text=
  785.       Text=
  786.     end
  787.     item: Static
  788.       Rectangle=8 180 256 181
  789.       Action=3
  790.       Create Flags=01010000000000000000000000000111
  791.     end
  792.   end
  793.   item: Dialog
  794.     Title=Select Destination Directory
  795.     Title French=SΘlectionner le rΘpertoire de destination
  796.     Title German=Zielverzeichnis wΣhlen
  797.     Title Spanish=Seleccione el directorio de destino
  798.     Title Italian=Selezionare Directory di destinazione
  799.     Width=221
  800.     Height=173
  801.     Font Name=Helv
  802.     Font Size=8
  803.     item: Listbox
  804.       Rectangle=5 5 163 149
  805.       Variable=MAINDIR
  806.       Create Flags=01010000100000010000000101000000
  807.       Flags=0000110000100010
  808.       Text=%MAINDIR%
  809.       Text French=%MAINDIR%
  810.       Text German=%MAINDIR%
  811.       Text Spanish=%MAINDIR%
  812.       Text Italian=%MAINDIR%
  813.     end
  814.     item: Push Button
  815.       Rectangle=167 6 212 21
  816.       Create Flags=01010000000000010000000000000001
  817.       Text=OK
  818.       Text French=OK
  819.       Text German=OK
  820.       Text Spanish=Aceptar
  821.       Text Italian=OK
  822.     end
  823.     item: Push Button
  824.       Rectangle=167 25 212 40
  825.       Variable=MAINDIR
  826.       Value=%MAINDIR_SAVE%
  827.       Create Flags=01010000000000010000000000000000
  828.       Flags=0000000000000001
  829.       Text=Cancel
  830.       Text French=Annuler
  831.       Text German=Abbrechen
  832.       Text Spanish=Cancelar
  833.       Text Italian=Annulla
  834.     end
  835.   end
  836. end
  837. item: If/While Statement
  838.   Variable=DISPLAY
  839.   Value=Security
  840. end
  841. item: If/While Statement
  842.   Variable=PMUSERNAME
  843. end
  844. item: Set Variable
  845.   Variable=DIRECTION
  846. end
  847. item: End Block
  848. end
  849. item: If/While Statement
  850.   Variable=PMPASSWORD
  851. end
  852. item: Set Variable
  853.   Variable=DIRECTION
  854. end
  855. item: End Block
  856. end
  857. item: End Block
  858. end
  859. item: Custom Dialog Set
  860.   Name=Start Installation
  861.   Display Variable=DISPLAY
  862.   item: Dialog
  863.     Title=%APPTITLE% Installation
  864.     Title French=Installation de %APPTITLE%
  865.     Title German=Installation von %APPTITLE%
  866.     Title Spanish=Instalaci≤n de %APPTITLE%
  867.     Title Italian=Installazione di %APPTITLE%
  868.     Width=271
  869.     Height=224
  870.     Font Name=Helv
  871.     Font Size=8
  872.     item: Push Button
  873.       Rectangle=150 186 195 201
  874.       Variable=DIRECTION
  875.       Value=N
  876.       Create Flags=01010000000000010000000000000001
  877.       Text=&Next >
  878.       Text French=&Suite >
  879.       Text German=&Weiter >
  880.       Text Spanish=&Siguiente >
  881.       Text Italian=&Avanti >
  882.     end
  883.     item: Push Button
  884.       Rectangle=105 186 150 201
  885.       Variable=DIRECTION
  886.       Value=B
  887.       Create Flags=01010000000000010000000000000000
  888.       Text=< &Back
  889.       Text French=< &Retour
  890.       Text German=< &Zurⁿck
  891.       Text Spanish=< &Atrßs
  892.       Text Italian=< &Indietro
  893.     end
  894.     item: Push Button
  895.       Rectangle=211 186 256 201
  896.       Action=3
  897.       Create Flags=01010000000000010000000000000000
  898.       Text=&Cancel
  899.       Text French=&Annuler
  900.       Text German=&Abbrechen
  901.       Text Spanish=&Cancelar
  902.       Text Italian=&Annulla
  903.     end
  904.     item: Static
  905.       Rectangle=8 180 256 181
  906.       Action=3
  907.       Create Flags=01010000000000000000000000000111
  908.     end
  909.     item: Static
  910.       Rectangle=86 8 256 32
  911.       Create Flags=01010000000000000000000000000000
  912.       Flags=0000000000000001
  913.       Name=Times New Roman
  914.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  915.       Text=Ready to Install!
  916.       Text French=PrΩt α installer !
  917.       Text German=Installationsbereit!
  918.       Text Spanish=íPreparado para la instalaci≤n!
  919.       Text Italian=Pronto per l'installazione!
  920.     end
  921.     item: Static
  922.       Rectangle=86 40 256 100
  923.       Create Flags=01010000000000000000000000000000
  924.       Text=You are now ready to install %APPTITLE%.
  925.       Text=
  926.       Text=Press the Next button to begin the installation or the Back button to reenter the installation information.
  927.       Text French=Vous Ωtes maintenant prΩt α installer les fichiers %APPTITLE%.
  928.       Text French=
  929.       Text French=Cliquez sur le bouton Suite pour commencer l'installation ou sur le bouton Retour pour entrer les informations d'installation α nouveau.
  930.       Text German=Sie k÷nnen %APPTITLE% nun installieren.
  931.       Text German=
  932.       Text German=Klicken Sie auf "Weiter", um mit der Installation zu beginnen. Klicken Sie auf "Zurⁿck", um die Installationsinformationen neu einzugeben.
  933.       Text Spanish=Ya estß listo para instalar %APPTITLE%.
  934.       Text Spanish=
  935.       Text Spanish=Presione el bot≤n Siguiente para comenzar la instalaci≤n o presione Atrßs para volver a ingresar la informaci≤n para la instalaci≤n.
  936.       Text Italian=Ora Φ possibile installare %APPTITLE%.
  937.       Text Italian=
  938.       Text Italian=Premere il pulsante Avanti per avviare l'installazione o il pulsante Indietro per reinserire le informazioni di installazione.
  939.     end
  940.   end
  941. end
  942. item: End Block
  943. end
  944. item: Remark
  945. end
  946. item: Remark
  947. end
  948. item: Remark
  949.   Text=*** Software setup ***
  950. end
  951. item: Check Disk Space
  952.   Component=COMPONENTS
  953. end
  954. item: Install File
  955.   Source=%_BASELINE_%\LICENSE.txt
  956.   Destination=%SOFTWARE_HOME%\LICENSE.txt
  957.   Description=Application files
  958.   Flags=0000000000000010
  959. end
  960. item: Install File
  961.   Source=%_BASELINE_%\README.txt
  962.   Destination=%SOFTWARE_HOME%\README.txt
  963.   Description=Application files
  964.   Flags=0000000000000010
  965. end
  966. item: Install File
  967.   Source=%_BASELINE_%\zpasswd.py
  968.   Destination=%SOFTWARE_HOME%\zpasswd.py
  969.   Description=Application files
  970.   Flags=0000000000000010
  971. end
  972. item: Install File
  973.   Source=%_BASELINE_%\bin\z2.pyt
  974.   Destination=%SOFTWARE_HOME%\z2.py
  975.   Description=Application files
  976.   Flags=0000000000000010
  977. end
  978. item: Install File
  979.   Source=%_BASELINE_%\bin\python.exe
  980.   Destination=%SOFTWARE_HOME%\bin\python.exe
  981.   Description=Application files
  982.   Flags=0000000000000010
  983. end
  984. item: Install File
  985.   Source=%_BASELINE_%\bin\python15.dll
  986.   Destination=%SOFTWARE_HOME%\bin\python15.dll
  987.   Description=Application files
  988.   Flags=0000000100000010
  989. end
  990. item: Install File
  991.   Source=%_BASELINE_%\bin\PyWinTypes15.dll
  992.   Destination=%SOFTWARE_HOME%\bin\PyWinTypes15.dll
  993.   Description=Application files
  994.   Flags=0000000100000010
  995. end
  996. item: Install File
  997.   Source=%_BASELINE_%\bin\msvcrt.dll
  998.   Destination=%SYS%\msvcrt.dll
  999.   Description=Application files
  1000.   Flags=0000011000010011
  1001. end
  1002. item: Install File
  1003.   Source=%_BASELINE_%\bin\msvcirt.dll
  1004.   Destination=%SYS%\msvcirt.dll
  1005.   Description=Application files
  1006.   Flags=0000011000010011
  1007. end
  1008. item: Install File
  1009.   Source=%_BASELINE_%\bin\lib\*
  1010.   Destination=%SOFTWARE_HOME%\bin\lib
  1011.   Description=Application files
  1012.   Flags=0000000100000010
  1013. end
  1014. item: Install File
  1015.   Source=%_BASELINE_%\doc\*
  1016.   Destination=%SOFTWARE_HOME%\doc
  1017.   Description=Application files
  1018.   Flags=0000000100000010
  1019. end
  1020. item: Install File
  1021.   Source=%_BASELINE_%\import\*
  1022.   Destination=%SOFTWARE_HOME%\import
  1023.   Description=Application files
  1024.   Flags=0000000100000010
  1025. end
  1026. item: Install File
  1027.   Source=%_BASELINE_%\inst\*
  1028.   Destination=%SOFTWARE_HOME%\inst
  1029.   Description=Application files
  1030.   Flags=0000000100000010
  1031. end
  1032. item: Install File
  1033.   Source=%_BASELINE_%\lib\*
  1034.   Destination=%SOFTWARE_HOME%\lib
  1035.   Description=Application files
  1036.   Flags=0000000100000010
  1037. end
  1038. item: Install File
  1039.   Source=%_BASELINE_%\bin\zope2.wse
  1040.   Destination=%SOFTWARE_HOME%\inst\zope2.wse
  1041.   Description=Application files
  1042.   Flags=0000000100000010
  1043. end
  1044. item: Remark
  1045. end
  1046. item: Remark
  1047.   Text=*** These are required for intl versions of NT ***
  1048. end
  1049. item: Install File
  1050.   Source=%_BASELINE_%\bin\python15.dll
  1051.   Destination=%SOFTWARE_HOME%\bin\lib\win32\python15.dll
  1052.   Description=Application files
  1053.   Flags=0000000100000010
  1054. end
  1055. item: Install File
  1056.   Source=%_BASELINE_%\bin\PyWinTypes15.dll
  1057.   Destination=%SOFTWARE_HOME%\bin\lib\win32\PyWinTypes15.dll
  1058.   Description=Application files
  1059.   Flags=0000000100000010
  1060. end
  1061. item: Remark
  1062. end
  1063. item: Install File
  1064.   Source=%_BASELINE_%\pcgi\*
  1065.   Destination=%SOFTWARE_HOME%\pcgi
  1066.   Description=Application files
  1067.   Flags=0000000100000010
  1068. end
  1069. item: Install File
  1070.   Source=%_BASELINE_%\utilities\*
  1071.   Destination=%SOFTWARE_HOME%\utilities
  1072.   Description=Application files
  1073.   Flags=0000000100000010
  1074. end
  1075. item: Install File
  1076.   Source=%_BASELINE_%\Extensions\*
  1077.   Destination=%SOFTWARE_HOME%\Extensions
  1078.   Description=Application files
  1079.   Flags=0000000100000010
  1080. end
  1081. item: Install File
  1082.   Source=%_BASELINE_%\ZServer\*
  1083.   Destination=%SOFTWARE_HOME%\ZServer
  1084.   Description=Application files
  1085.   Flags=0000000100000010
  1086. end
  1087. item: Remark
  1088. end
  1089. item: Execute Program
  1090.   Pathname=%SOFTWARE_HOME%\bin\python.exe
  1091.   Command Line=inst\compilezpy.py
  1092.   Default Directory=%SOFTWARE_HOME%
  1093.   Flags=00000010
  1094. end
  1095. item: Remark
  1096. end
  1097. item: Remark
  1098.   Text=*** Instance setup ***
  1099. end
  1100. item: Insert Line into Text File
  1101.   Pathname=%INSTANCE_HOME%\access
  1102.   New Text=%PMUSERNAME%:%PMPASSWORD%
  1103.   Line Number=1
  1104.   Flags=00101000
  1105. end
  1106. item: Execute Program
  1107.   Pathname=%SOFTWARE_HOME%\bin\python.exe
  1108.   Command Line=zpasswd.py -u%PMUSERNAME% -p%PMPASSWORD% -eSHA "%INSTANCE_HOME%\access"
  1109.   Default Directory=%SOFTWARE_HOME%
  1110.   Flags=00000110
  1111. end
  1112. item: Check if File/Dir Exists
  1113.   Pathname=%INSTANCE_HOME%\var
  1114.   Flags=00000101
  1115. end
  1116. item: Open/Close INSTALL.LOG
  1117.   Flags=00000001
  1118. end
  1119. item: Create Directory
  1120.   Pathname=%INSTANCE_HOME%\var
  1121. end
  1122. item: Install File
  1123.   Source=%_BASELINE_%\var\Data.fs.in
  1124.   Destination=%INSTANCE_HOME%\var\Data.fs
  1125.   Description=Application files
  1126.   Flags=0000000000001010
  1127. end
  1128. item: Open/Close INSTALL.LOG
  1129. end
  1130. item: End Block
  1131. end
  1132. item: Remark
  1133. end
  1134. item: Remark
  1135. end
  1136. item: Remark
  1137.   Text=*** Registry setup***
  1138. end
  1139. item: Edit Registry
  1140.   Total Keys=5
  1141.   item: Key
  1142.     Key=Software\Digital Creations\zope
  1143.     Root=2
  1144.   end
  1145.   item: Key
  1146.     Key=Software\Digital Creations\zope\%INSTANCE_NAME%
  1147.     Root=2
  1148.   end
  1149.   item: Key
  1150.     Key=Software\Digital Creations\zope\%INSTANCE_NAME%
  1151.     New Value=%INSTANCE_HOME%
  1152.     Value Name=INSTANCE_HOME
  1153.     Root=2
  1154.   end
  1155.   item: Key
  1156.     Key=Software\Digital Creations\zope\%INSTANCE_NAME%
  1157.     New Value=%SOFTWARE_HOME%
  1158.     Value Name=SOFTWARE_HOME
  1159.     Root=2
  1160.   end
  1161.   item: Key
  1162.     Key=Software\Digital Creations\zope\%INSTANCE_NAME%
  1163.     New Value=Main
  1164.     Value Name=SOFTWARE_NAME
  1165.     Root=2
  1166.   end
  1167. end
  1168. item: Remark
  1169. end
  1170. item: Remark
  1171. end
  1172. item: Remark
  1173.   Text=*** Script setup ***
  1174. end
  1175. item: Insert Line into Text File
  1176.   Pathname=%INSTANCE_HOME%\z2.py
  1177.   New Text=swhome=r'%SOFTWARE_HOME%'
  1178.   Search Text=INSERT_SOFTWARE_HOME
  1179.   Line Number=0
  1180.   Flags=00101000
  1181. end
  1182. item: Insert Line into Text File
  1183.   Pathname=%INSTANCE_HOME%\start.bat
  1184.   New Text="%SOFTWARE_HOME%\bin\python.exe" "%SOFTWARE_HOME%\z2.py" -D %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9
  1185.   Line Number=1
  1186.   Flags=00101000
  1187. end
  1188. item: Insert Line into Text File
  1189.   Pathname=%INSTANCE_HOME%\ZServer\svcname.txt
  1190.   New Text=%INSTANCE_NAME%
  1191.   Line Number=1
  1192.   Flags=00101000
  1193. end
  1194. item: Remark
  1195. end
  1196. item: Remark
  1197. end
  1198. item: Remark
  1199.   Text=*** Create PCGI info file ***
  1200. end
  1201. item: Check if File/Dir Exists
  1202.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1203.   Flags=00000101
  1204. end
  1205. item: Insert Line into Text File
  1206.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1207.   New Text=#!%SOFTWARE_HOME%\pcgi\win32\pcgi-wrapper.exe
  1208.   Line Number=1
  1209.   Flags=00101000
  1210. end
  1211. item: Insert Line into Text File
  1212.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1213.   New Text=#
  1214.   Line Number=2
  1215.   Flags=00101000
  1216. end
  1217. item: Insert Line into Text File
  1218.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1219.   New Text=# This PCGI info file was generated automatically by
  1220.   Line Number=3
  1221.   Flags=00101000
  1222. end
  1223. item: Insert Line into Text File
  1224.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1225.   New Text=# the Zope installer. See the file doc/WEBSERVER.txt
  1226.   Line Number=4
  1227.   Flags=00101000
  1228. end
  1229. item: Insert Line into Text File
  1230.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1231.   New Text=# for more information on setting up PCGI support.
  1232.   Line Number=5
  1233.   Flags=00101000
  1234. end
  1235. item: Insert Line into Text File
  1236.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1237.   Line Number=6
  1238.   Flags=00101000
  1239. end
  1240. item: Insert Line into Text File
  1241.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1242.   New Text=PCGI_NAME=Zope
  1243.   Line Number=7
  1244.   Flags=00101000
  1245. end
  1246. item: Insert Line into Text File
  1247.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1248.   New Text=PCGI_PORT=8090
  1249.   Line Number=8
  1250.   Flags=00101000
  1251. end
  1252. item: Insert Line into Text File
  1253.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1254.   New Text=PCGI_MODULE_PATH=%SOFTWARE_HOME%\lib\python\Zope
  1255.   Line Number=9
  1256.   Flags=00101000
  1257. end
  1258. item: Insert Line into Text File
  1259.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1260.   New Text=PCGI_PUBLISHER=%SOFTWARE_HOME%\pcgi\pcgi_publisher.py
  1261.   Line Number=10
  1262.   Flags=00101000
  1263. end
  1264. item: Insert Line into Text File
  1265.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1266.   New Text=PCGI_EXE=%SOFTWARE_HOME%\bin\python.exe
  1267.   Line Number=11
  1268.   Flags=00101000
  1269. end
  1270. item: Insert Line into Text File
  1271.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1272.   New Text=PCGI_SOCKET_FILE=%INSTANCE_HOME%\var\pcgi.soc
  1273.   Line Number=12
  1274.   Flags=00101000
  1275. end
  1276. item: Insert Line into Text File
  1277.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1278.   New Text=PCGI_PID_FILE=%INSTANCE_HOME%\var\pcgi.pid
  1279.   Line Number=13
  1280.   Flags=00101000
  1281. end
  1282. item: Insert Line into Text File
  1283.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1284.   New Text=PCGI_ERROR_LOG=%INSTANCE_HOME%\var\pcgi.log
  1285.   Line Number=14
  1286.   Flags=00101000
  1287. end
  1288. item: Insert Line into Text File
  1289.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1290.   New Text=PCGI_DISPLAY_ERRORS=1
  1291.   Line Number=15
  1292.   Flags=00101000
  1293. end
  1294. item: Insert Line into Text File
  1295.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1296.   New Text=BOBO_REALM=Zope
  1297.   Line Number=16
  1298.   Flags=00101000
  1299. end
  1300. item: Insert Line into Text File
  1301.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1302.   New Text=BOBO_DEBUG_MODE=1
  1303.   Line Number=17
  1304.   Flags=00101000
  1305. end
  1306. item: Insert Line into Text File
  1307.   Pathname=%INSTANCE_HOME%\Zope.cgi
  1308.   New Text=INSTANCE_HOME=%INSTANCE_HOME%
  1309.   Line Number=18
  1310.   Flags=00101000
  1311. end
  1312. item: End Block
  1313. end
  1314. item: Remark
  1315. end
  1316. item: Remark
  1317. end
  1318. item: Remark
  1319.   Text=*** Service setup ***
  1320. end
  1321. item: Check Configuration
  1322.   Flags=10100000
  1323. end
  1324. item: Wizard Block
  1325.   Direction Variable=DIRECTION
  1326.   Display Variable=DISPLAY
  1327.   Bitmap Pathname=%_WISE_%\DIALOGS\TEMPLATE\WIZARD.BMP
  1328.   X Position=9
  1329.   Y Position=10
  1330.   Filler Color=8421440
  1331.   Flags=00000011
  1332. end
  1333. item: Custom Dialog Set
  1334.   Name=Server Options
  1335.   Display Variable=DISPLAY
  1336.   item: Dialog
  1337.     Title=%APPTITLE% Installation
  1338.     Title French=Installation de %APPTITLE%
  1339.     Title German=Installation von %APPTITLE%
  1340.     Title Spanish=Instalaci≤n de %APPTITLE%
  1341.     Title Italian=Installazione di %APPTITLE%
  1342.     Width=271
  1343.     Height=224
  1344.     Font Name=Helv
  1345.     Font Size=8
  1346.     item: Push Button
  1347.       Rectangle=150 186 195 201
  1348.       Variable=DIRECTION
  1349.       Value=N
  1350.       Create Flags=01010000000000010000000000000001
  1351.       Text=&Next
  1352.       Text French=&Fin
  1353.       Text German=&Weiter
  1354.       Text Spanish=&Terminar
  1355.       Text Italian=&Fine
  1356.     end
  1357.     item: Push Button
  1358.       Rectangle=105 186 150 201
  1359.       Variable=DISABLED
  1360.       Value=!
  1361.       Create Flags=01010000000000010000000000000000
  1362.       Text=< &Back
  1363.       Text French=< &Retour
  1364.       Text German=< &Zurⁿck
  1365.       Text Spanish=< &Atrßs
  1366.       Text Italian=< &Indietro
  1367.     end
  1368.     item: Push Button
  1369.       Rectangle=210 186 255 201
  1370.       Variable=DISABLED
  1371.       Value=!
  1372.       Action=3
  1373.       Create Flags=01010000000000010000000000000000
  1374.       Text=&Cancel
  1375.       Text French=&Annuler
  1376.       Text German=&Abbrechen
  1377.       Text Spanish=&Cancelar
  1378.       Text Italian=&Annulla
  1379.     end
  1380.     item: Static
  1381.       Rectangle=8 180 256 181
  1382.       Action=3
  1383.       Create Flags=01010000000000000000000000000111
  1384.     end
  1385.     item: Static
  1386.       Rectangle=86 8 256 32
  1387.       Create Flags=01010000000000000000000000000000
  1388.       Flags=0000000000000001
  1389.       Name=Times New Roman
  1390.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  1391.       Text=Server Options
  1392.       Text French=Installation terminΘe !
  1393.       Text German=Die Installation ist abgeschlossen!
  1394.       Text Spanish=íInstalaci≤n terminada!
  1395.       Text Italian=Installazione completata!
  1396.     end
  1397.     item: Static
  1398.       Rectangle=86 41 256 101
  1399.       Create Flags=01010000000000000000000000000000
  1400.       Text=This application comes with a built-in web server which you can start manually to get started with the product immediately.
  1401.       Text=
  1402.       Text=On Windows NT, you can also choose to run Zope as a win32 service, which allows you to make sure that Zope is restarted  automatically in the event of errors.
  1403.       Text French=%APPTITLE% est maintenant installΘ.
  1404.       Text French=
  1405.       Text French=Cliquez sur le bouton Fin pour quitter l'installation.
  1406.       Text German=%APPTITLE% wurde erfolgreich installiert.
  1407.       Text German=
  1408.       Text German=Klicken Sie auf "Weiter", um die Installation zu beenden.
  1409.       Text Spanish=%APPTITLE% se ha instalado con Θxito.
  1410.       Text Spanish=
  1411.       Text Spanish=Presione el bot≤n Terminar para salir de esta instalaci≤n.
  1412.       Text Italian=L'installazione %APPTITLE% Φ stata portata a termine con successo.
  1413.       Text Italian=
  1414.       Text Italian=Premere il pulsante Fine per uscire dall'installazione.
  1415.     end
  1416.     item: Radio Button
  1417.       Control Name=c_publish_type
  1418.       Rectangle=86 100 256 150
  1419.       Variable=AS_SERVICE
  1420.       Create Flags=01010000000000010000000000001001
  1421.       Text=Run the server manually 
  1422.       Text=Run as a win32 service
  1423.       Text=
  1424.     end
  1425.   end
  1426. end
  1427. item: End Block
  1428. end
  1429. item: If/While Statement
  1430.   Variable=AS_SERVICE
  1431.   Value=B
  1432.   Flags=00000010
  1433. end
  1434. item: Execute Program
  1435.   Pathname=%SOFTWARE_HOME%\bin\lib\win32\PythonService.exe
  1436.   Command Line=/register
  1437.   Default Directory=%SOFTWARE_HOME%
  1438.   Flags=00000110
  1439. end
  1440. item: Execute Program
  1441.   Pathname=%SOFTWARE_HOME%\bin\python.exe
  1442.   Command Line=ZServer\ZService.py --startup auto install
  1443.   Default Directory=%SOFTWARE_HOME%
  1444.   Flags=00000110
  1445. end
  1446. item: Execute Program
  1447.   Pathname=%SOFTWARE_HOME%\bin\python.exe
  1448.   Command Line=ZServer\ZService.py start
  1449.   Default Directory=%SOFTWARE_HOME%
  1450.   Flags=00000110
  1451. end
  1452. item: Edit Registry
  1453.   Total Keys=5
  1454.   item: Key
  1455.     Key=SYSTEM
  1456.     Root=2
  1457.   end
  1458.   item: Key
  1459.     Key=SYSTEM\CurrentControlSet
  1460.     Root=2
  1461.   end
  1462.   item: Key
  1463.     Key=SYSTEM\CurrentControlSet\Services
  1464.     Root=2
  1465.   end
  1466.   item: Key
  1467.     Key=SYSTEM\CurrentControlSet\Services\%INSTANCE_NAME%
  1468.     Root=2
  1469.   end
  1470.   item: Key
  1471.     Key=SYSTEM\CurrentControlSet\Services\%INSTANCE_NAME%
  1472.     New Value=%SOFTWARE_HOME%\bin\lib\win32\PythonService.exe
  1473.     Value Name=ImagePath
  1474.     Root=2
  1475.   end
  1476. end
  1477. item: Remark
  1478. end
  1479. item: Display Message
  1480.   Title=Service Installed
  1481.   Text=Zope has been installed as a NT service that will be started automatically by the system. When you have finished this installation, you can access the URL: 
  1482.   Text=
  1483.   Text=http://localhost:8080/manage 
  1484.   Text=
  1485.   Text=to begin using Zope.
  1486. end
  1487. item: End Block
  1488. end
  1489. item: End Block
  1490. end
  1491. item: Remark
  1492. end
  1493. item: Remark
  1494. end
  1495. remarked item: Remark
  1496.   Text=*** Publisher setup ***
  1497. end
  1498. remarked item: Check Configuration
  1499.   Flags=10000000
  1500. end
  1501. remarked item: Set Variable
  1502.   Variable=PUBLISH_TYPE
  1503.   Value=Ab
  1504. end
  1505. remarked item: Else Statement
  1506. end
  1507. remarked item: Set Variable
  1508.   Variable=PUBLISH_TYPE
  1509.   Value=B
  1510. end
  1511. remarked item: End Block
  1512. end
  1513. remarked item: Wizard Block
  1514.   Direction Variable=DIRECTION
  1515.   Display Variable=DISPLAY
  1516.   Bitmap Pathname=%_WISE_%\DIALOGS\TEMPLATE\WIZARD.BMP
  1517.   X Position=9
  1518.   Y Position=10
  1519.   Filler Color=8421440
  1520.   Flags=00000011
  1521. end
  1522. remarked item: Custom Dialog Set
  1523.   Name=Publishing Options
  1524.   Display Variable=DISPLAY
  1525.   item: Dialog
  1526.     Title=%APPTITLE% Installation
  1527.     Title French=Installation de %APPTITLE%
  1528.     Title German=Installation von %APPTITLE%
  1529.     Title Spanish=Instalaci≤n de %APPTITLE%
  1530.     Title Italian=Installazione di %APPTITLE%
  1531.     Width=271
  1532.     Height=224
  1533.     Font Name=Helv
  1534.     Font Size=8
  1535.     item: Push Button
  1536.       Rectangle=150 186 195 201
  1537.       Variable=DIRECTION
  1538.       Value=N
  1539.       Create Flags=01010000000000010000000000000001
  1540.       Text=&Next
  1541.       Text French=&Fin
  1542.       Text German=&Weiter
  1543.       Text Spanish=&Terminar
  1544.       Text Italian=&Fine
  1545.     end
  1546.     item: Push Button
  1547.       Rectangle=105 186 150 201
  1548.       Variable=DISABLED
  1549.       Value=!
  1550.       Create Flags=01010000000000010000000000000000
  1551.       Text=< &Back
  1552.       Text French=< &Retour
  1553.       Text German=< &Zurⁿck
  1554.       Text Spanish=< &Atrßs
  1555.       Text Italian=< &Indietro
  1556.     end
  1557.     item: Push Button
  1558.       Rectangle=210 186 255 201
  1559.       Variable=DISABLED
  1560.       Value=!
  1561.       Action=3
  1562.       Create Flags=01010000000000010000000000000000
  1563.       Text=&Cancel
  1564.       Text French=&Annuler
  1565.       Text German=&Abbrechen
  1566.       Text Spanish=&Cancelar
  1567.       Text Italian=&Annulla
  1568.     end
  1569.     item: Static
  1570.       Rectangle=8 180 256 181
  1571.       Action=3
  1572.       Create Flags=01010000000000000000000000000111
  1573.     end
  1574.     item: Static
  1575.       Rectangle=86 8 256 32
  1576.       Create Flags=01010000000000000000000000000000
  1577.       Flags=0000000000000001
  1578.       Name=Times New Roman
  1579.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  1580.       Text=Publishing Options
  1581.       Text French=Installation terminΘe !
  1582.       Text German=Die Installation ist abgeschlossen!
  1583.       Text Spanish=íInstalaci≤n terminada!
  1584.       Text Italian=Installazione completata!
  1585.     end
  1586.     item: Static
  1587.       Rectangle=86 40 256 100
  1588.       Create Flags=01010000000000000000000000000000
  1589.       Text=This application comes with a simple built-in web server which allows you to get started with the product immediately.
  1590.       Text=
  1591.       Text=You can also choose to run this application as a Win32 service in conjunction with your existing cgi-capable web server if you are running Windows NT.
  1592.       Text French=%APPTITLE% est maintenant installΘ.
  1593.       Text French=
  1594.       Text French=Cliquez sur le bouton Fin pour quitter l'installation.
  1595.       Text German=%APPTITLE% wurde erfolgreich installiert.
  1596.       Text German=
  1597.       Text German=Klicken Sie auf "Weiter", um die Installation zu beenden.
  1598.       Text Spanish=%APPTITLE% se ha instalado con Θxito.
  1599.       Text Spanish=
  1600.       Text Spanish=Presione el bot≤n Terminar para salir de esta instalaci≤n.
  1601.       Text Italian=L'installazione %APPTITLE% Φ stata portata a termine con successo.
  1602.       Text Italian=
  1603.       Text Italian=Premere il pulsante Fine per uscire dall'installazione.
  1604.     end
  1605.     item: Radio Button
  1606.       Control Name=c_publish_type
  1607.       Rectangle=86 100 256 150
  1608.       Variable=PUBLISH_TYPE
  1609.       Create Flags=01010000000000010000000000001001
  1610.       Text=Run manually with the built-in web server
  1611.       Text=Run as a service with my existing web server
  1612.       Text=
  1613.     end
  1614.   end
  1615. end
  1616. remarked item: End Block
  1617. end
  1618. remarked item: Remark
  1619. end
  1620. remarked item: If/While Statement
  1621.   Variable=PUBLISH_TYPE
  1622.   Value=A
  1623.   Flags=00000010
  1624. end
  1625. remarked item: Insert Line into Text File
  1626.   Pathname=%INSTANCE_HOME%\z2.py
  1627.   New Text=swhome=r'%SOFTWARE_HOME%'
  1628.   Search Text=INSERT_SOFTWARE_HOME
  1629.   Line Number=0
  1630.   Flags=00101000
  1631. end
  1632. remarked item: Insert Line into Text File
  1633.   Pathname=%INSTANCE_HOME%\start.bat
  1634.   New Text="%SOFTWARE_HOME%\bin\python.exe" "%SOFTWARE_HOME%\z2.py" %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9
  1635.   Line Number=1
  1636.   Flags=00101000
  1637. end
  1638. remarked item: Check Configuration
  1639.   Flags=10100000
  1640. end
  1641. remarked item: Create Service
  1642.   Service Name=%INSTANCE_NAME%
  1643.   Executable Path=%SOFTWARE_HOME%\bin\%INSTANCE_NAME%.exe
  1644.   Service Type=32
  1645.   Boot Type=3
  1646.   Error Type=1
  1647.   Display Name=Zope (%INSTANCE_NAME%)
  1648. end
  1649. remarked item: End Block
  1650. end
  1651. remarked item: Else Statement
  1652. end
  1653. remarked item: Insert Line into Text File
  1654.   Pathname=%INSTANCE_HOME%\z2.py
  1655.   New Text=swhome=r'%SOFTWARE_HOME%'
  1656.   Search Text=INSERT_SOFTWARE_HOME
  1657.   Line Number=0
  1658.   Flags=00101000
  1659. end
  1660. remarked item: Insert Line into Text File
  1661.   Pathname=%INSTANCE_HOME%\start.bat
  1662.   New Text="%SOFTWARE_HOME%\bin\python.exe" "%SOFTWARE_HOME%\z2.py" %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9
  1663.   Line Number=1
  1664.   Flags=00101000
  1665. end
  1666. remarked item: Create Service
  1667.   Service Name=%INSTANCE_NAME%
  1668.   Executable Path=%SOFTWARE_HOME%\bin\%INSTANCE_NAME%.exe
  1669.   Service Type=32
  1670.   Boot Type=2
  1671.   Error Type=1
  1672.   Display Name=Zope (%INSTANCE_NAME%)
  1673. end
  1674. remarked item: Set Variable
  1675.   Variable=SCRIPT_PATH
  1676.   Value=C:\
  1677. end
  1678. remarked item: Browse for Directory
  1679.   Variable=SCRIPT_PATH
  1680.   Flags=3
  1681.   Window Name=Select Executable (CGI) Directory
  1682.   Prompt Description=Select the directory where executable (CGI) files are kept on your web server.
  1683.   Prompt Description=
  1684.   Prompt Description=If you choose a directory which is not already setup as a CGI directory, you will need to configure your web server appropriately after completing this installation.
  1685.   Default Value=%SCRIPT_PATH%
  1686. end
  1687. remarked item: Install File
  1688.   Source=%_BASELINE_%\bin\pss_cgi.exe
  1689.   Destination=%SCRIPT_PATH%\%INSTANCE_NAME%.exe
  1690.   Description=Application files
  1691.   Flags=0000000100000010
  1692. end
  1693. remarked item: End Block
  1694. end
  1695. item: Remark
  1696. end
  1697. item: Remark
  1698. end
  1699. item: Remark
  1700.   Text=*** Finish ***
  1701. end
  1702. item: Set Variable
  1703.   Variable=UNINSTALL_PATH
  1704.   Value=%_LOGFILE_PATH_%
  1705.   Flags=00000010
  1706. end
  1707. item: Set Variable
  1708.   Variable=UNINSTALL_PATH
  1709.   Value=%UNINSTALL_PATH%\UNWISE.EXE
  1710. end
  1711. item: Install File
  1712.   Source=%_WISE_%\UNWISE32.EXE
  1713.   Destination=%UNINSTALL_PATH%
  1714.   Flags=0000000000000010
  1715. end
  1716. item: Set Variable
  1717.   Variable=UNINSTALL_PATH
  1718.   Value=%UNINSTALL_PATH%
  1719.   Flags=00010100
  1720. end
  1721. item: Set Variable
  1722.   Variable=INST_LOG_PATH
  1723.   Value=%_LOGFILE_PATH_%
  1724.   Flags=00010100
  1725. end
  1726. item: Edit Registry
  1727.   Total Keys=2
  1728.   item: Key
  1729.     Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE% (%INSTANCE_NAME%)
  1730.     New Value=%APPTITLE%  (%INSTANCE_NAME%)
  1731.     Value Name=DisplayName
  1732.     Root=2
  1733.   end
  1734.   item: Key
  1735.     Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE% (%INSTANCE_NAME%)
  1736.     New Value=%UNINSTALL_PATH% %INST_LOG_PATH%
  1737.     Value Name=UninstallString
  1738.     Root=2
  1739.   end
  1740. end
  1741. item: Wizard Block
  1742.   Direction Variable=DIRECTION
  1743.   Display Variable=DISPLAY
  1744.   Bitmap Pathname=%_WISE_%\DIALOGS\TEMPLATE\WIZARD.BMP
  1745.   X Position=9
  1746.   Y Position=10
  1747.   Filler Color=8421440
  1748.   Flags=00000011
  1749. end
  1750. item: Custom Dialog Set
  1751.   Name=Finished
  1752.   Display Variable=DISPLAY
  1753.   item: Dialog
  1754.     Title=%APPTITLE% Installation
  1755.     Title French=Installation de %APPTITLE%
  1756.     Title German=Installation von %APPTITLE%
  1757.     Title Spanish=Instalaci≤n de %APPTITLE%
  1758.     Title Italian=Installazione di %APPTITLE%
  1759.     Width=271
  1760.     Height=224
  1761.     Font Name=Helv
  1762.     Font Size=8
  1763.     item: Push Button
  1764.       Rectangle=150 186 195 201
  1765.       Variable=DIRECTION
  1766.       Value=N
  1767.       Create Flags=01010000000000010000000000000001
  1768.       Text=&Finish
  1769.       Text French=&Fin
  1770.       Text German=&Weiter
  1771.       Text Spanish=&Terminar
  1772.       Text Italian=&Fine
  1773.     end
  1774.     item: Push Button
  1775.       Rectangle=105 186 150 201
  1776.       Variable=DISABLED
  1777.       Value=!
  1778.       Create Flags=01010000000000010000000000000000
  1779.       Text=< &Back
  1780.       Text French=< &Retour
  1781.       Text German=< &Zurⁿck
  1782.       Text Spanish=< &Atrßs
  1783.       Text Italian=< &Indietro
  1784.     end
  1785.     item: Push Button
  1786.       Rectangle=210 186 255 201
  1787.       Variable=DISABLED
  1788.       Value=!
  1789.       Action=3
  1790.       Create Flags=01010000000000010000000000000000
  1791.       Text=&Cancel
  1792.       Text French=&Annuler
  1793.       Text German=&Abbrechen
  1794.       Text Spanish=&Cancelar
  1795.       Text Italian=&Annulla
  1796.     end
  1797.     item: Static
  1798.       Rectangle=8 180 256 181
  1799.       Action=3
  1800.       Create Flags=01010000000000000000000000000111
  1801.     end
  1802.     item: Static
  1803.       Rectangle=86 8 256 32
  1804.       Create Flags=01010000000000000000000000000000
  1805.       Flags=0000000000000001
  1806.       Name=Times New Roman
  1807.       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
  1808.       Text=Installation Completed!
  1809.       Text French=Installation terminΘe !
  1810.       Text German=Die Installation ist abgeschlossen!
  1811.       Text Spanish=íInstalaci≤n terminada!
  1812.       Text Italian=Installazione completata!
  1813.     end
  1814.     item: Static
  1815.       Rectangle=86 40 256 90
  1816.       Create Flags=01010000000000000000000000000000
  1817.       Text=The installation of %APPTITLE% has been successfully completed.
  1818.       Text=
  1819.       Text=Press the Finish button to exit this installation.
  1820.       Text French=%APPTITLE% est maintenant installΘ.
  1821.       Text French=
  1822.       Text French=Cliquez sur le bouton Fin pour quitter l'installation.
  1823.       Text German=%APPTITLE% wurde erfolgreich installiert.
  1824.       Text German=
  1825.       Text German=Klicken Sie auf "Weiter", um die Installation zu beenden.
  1826.       Text Spanish=%APPTITLE% se ha instalado con Θxito.
  1827.       Text Spanish=
  1828.       Text Spanish=Presione el bot≤n Terminar para salir de esta instalaci≤n.
  1829.       Text Italian=L'installazione %APPTITLE% Φ stata portata a termine con successo.
  1830.       Text Italian=
  1831.       Text Italian=Premere il pulsante Fine per uscire dall'installazione.
  1832.     end
  1833.   end
  1834. end
  1835. item: End Block
  1836. end
  1837. item: Set Variable
  1838.   Variable=RESTART
  1839. end
  1840. item: Remark
  1841. end
  1842. item: New Event
  1843.   Name=Cancel
  1844. end
  1845. item: Include Script
  1846.   Pathname=%_WISE_%\INCLUDE\rollback.wse
  1847. end
  1848.